<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue.js"></script>
</head>
<body>
    <div id="d1">
        <span id="s1">{{msg}}</span><br/>
        <input type="text" id="i1" v-model="msg"/>
    </div>
</body>
<script>
    new Vue({
        el:"#d1",
        data:{
            msg:"Hello"
        }
    });
</script>
</html>